package com.aaa.system.service.impl;

import com.aaa.entity.LoginLog;
import com.aaa.system.dao.LoginLogDao;
import com.aaa.system.service.LoginLogService;
import com.aaa.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author 崔灿
 * @Date 2023/02/28 20:29
 * @ClassName LoginLogServiceImpl
 * @Description
 * @Version 1.0
 */

@Service
public class LoginLogServiceImpl implements LoginLogService {

    @Autowired
    private LoginLogDao loginLogDao;


    @Override
    public Result addLoginLog(LoginLog loginLog) {
        int insert = loginLogDao.insert(loginLog);
        return new Result(2000,"插入成功",insert);
    }
}
